/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package server;

import beans.person.User;
import commons.ExceptionCLLAMB;
import java.util.List;
import manager.ManagerPerson;

/**
 *
 * @author xmarti
 */
public class RemoteImplCLLAMB  {
    
    public List<User> getUsers(int company) throws ExceptionCLLAMB {
        ManagerPerson mPerson = new ManagerPerson();
        
        return mPerson.getUsers(company);
    }
    
    public static User getUser(String name, String password) throws ExceptionCLLAMB {
        ManagerPerson mPerson = new ManagerPerson();
        return mPerson.getUser(name,password);
    }
    
}
